package com.ruoyi.project.play.service.domain;

import com.ruoyi.project.play.serviceItem.domain.ServiceObjectItem;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.TreeEntity;

import java.util.List;

/**
 * 服务项目对象 service_object
 * 
 * @author wyh
 * @date 2024-07-07
 */
public class ServiceObject extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 上级服务id */
    @Excel(name = "上级服务id")
    private Long pid;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 图片 */
    @Excel(name = "图片")
    private String pic;

    /** 线上/线下 */
    @Excel(name = "线上/线下")
    private String online;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 城市编码 */
    @Excel(name = "城市编码")
    private String cityCode;

    /** 代理id */
    @Excel(name = "代理id")
    private Long agencyId;

    /** 序号 */
    @Excel(name = "序号")
    private Long no;

    private List<ServiceObjectItem> serviceItems;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setOnline(String online) 
    {
        this.online = online;
    }

    public String getOnline() 
    {
        return online;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setAgencyId(Long agencyId) 
    {
        this.agencyId = agencyId;
    }

    public Long getAgencyId() 
    {
        return agencyId;
    }
    public void setNo(Long no) 
    {
        this.no = no;
    }

    public Long getNo() 
    {
        return no;
    }

    public List<ServiceObjectItem> getServiceItems() {
        return serviceItems;
    }

    public void setServiceItems(List<ServiceObjectItem> serviceItems) {
        this.serviceItems = serviceItems;
    }

    @Override
    public String toString() {
        return "ServiceObject{" +
                "id=" + id +
                ", pid=" + pid +
                ", name='" + name + '\'' +
                ", pic='" + pic + '\'' +
                ", online='" + online + '\'' +
                ", status='" + status + '\'' +
                ", description='" + description + '\'' +
                ", city='" + city + '\'' +
                ", cityCode='" + cityCode + '\'' +
                ", agencyId=" + agencyId +
                ", no=" + no +
                ", serviceItems=" + serviceItems +
                '}';
    }
}
